[INFO] cloning repository https://github.com/Luke-Callaghan23/fscript
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Luke-Callaghan23/fscript" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLuke-Callaghan23%2Ffscript", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLuke-Callaghan23%2Ffscript'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 03693895f979afefd3577b40bb3fcfd67527f493
[INFO] checking Luke-Callaghan23/fscript against master#4eb62535fc12dd1a63fd43a4173e224e79313c4d for pr-158816
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLuke-Callaghan23%2Ffscript" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/Luke-Callaghan23/fscript
[INFO] finished tweaking git repo https://github.com/Luke-Callaghan23/fscript
[INFO] tweaked toml for git repo https://github.com/Luke-Callaghan23/fscript written to /workspace/builds/worker-5-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/Luke-Callaghan23/fscript on toolchain 4eb62535fc12dd1a63fd43a4173e224e79313c4d
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4eb62535fc12dd1a63fd43a4173e224e79313c4d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/Luke-Callaghan23/fscript already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4eb62535fc12dd1a63fd43a4173e224e79313c4d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded thread_local v1.1.3
[INFO] [stderr]   Downloaded memchr v2.3.4
[INFO] [stderr]   Downloaded once_cell v1.5.2
[INFO] [stderr]   Downloaded itertools v0.10.0
[INFO] [stderr]   Downloaded aho-corasick v0.7.15
[INFO] [stderr]   Downloaded regex v1.4.3
[INFO] [stderr]   Downloaded regex-syntax v0.6.22
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3d5ced03c013a94a2f102a4510f48a6e9184255caf5fd8244f58017bde7f5210" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] c968f64235865c6805bc928fab19c0f7726a51a8ef532771c7a7f52711642ee1
[INFO] running `Command { std: "docker" "start" "c968f64235865c6805bc928fab19c0f7726a51a8ef532771c7a7f52711642ee1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "c968f64235865c6805bc928fab19c0f7726a51a8ef532771c7a7f52711642ee1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "c968f64235865c6805bc928fab19c0f7726a51a8ef532771c7a7f52711642ee1" "/opt/rustwide/cargo-home/bin/cargo" "+4eb62535fc12dd1a63fd43a4173e224e79313c4d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "c968f64235865c6805bc928fab19c0f7726a51a8ef532771c7a7f52711642ee1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-w" "/opt/rustwide/workdir" "--user" "0:0" "c968f64235865c6805bc928fab19c0f7726a51a8ef532771c7a7f52711642ee1" "/opt/rustwide/cargo-home/bin/cargo" "+4eb62535fc12dd1a63fd43a4173e224e79313c4d" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]    Compiling memchr v2.3.4
[INFO] [stderr]     Checking once_cell v1.5.2
[INFO] [stderr]     Checking either v1.6.1
[INFO] [stderr]     Checking regex-syntax v0.6.22
[INFO] [stderr]     Checking typed-arena v2.0.1
[INFO] [stderr]     Checking thread_local v1.1.3
[INFO] [stderr]     Checking itertools v0.10.0
[INFO] [stderr]     Checking aho-corasick v0.7.15
[INFO] [stderr]     Checking regex v1.4.3
[INFO] [stderr]     Checking fscriptv01 v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused imports: `CompilationInstructions` and `Info`
[INFO] [stdout]   --> src/parser/parser.rs:25:9
[INFO] [stdout]    |
[INFO] [stdout] 25 |         CompilationInstructions,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 28 |         Info
[INFO] [stdout]    |         ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `io::write_files::write_all`
[INFO] [stdout]   --> src/main.rs:11:5
[INFO] [stdout]    |
[INFO] [stdout] 11 | use io::write_files::write_all;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `CompilationInstructions`
[INFO] [stdout]  --> src/types.rs:5:9
[INFO] [stdout]   |
[INFO] [stdout] 5 |         CompilationInstructions, 
[INFO] [stdout]   |         ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `type_implementations::type_implementations::*`
[INFO] [stdout]   --> src/main.rs:17:5
[INFO] [stdout]    |
[INFO] [stdout] 17 | use type_implementations::type_implementations::*;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Info`
[INFO] [stdout]   --> src/transpiler/implementations/fscript_if.rs:10:5
[INFO] [stdout]    |
[INFO] [stdout] 10 |     Info
[INFO] [stdout]    |     ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `borrow::Borrow`
[INFO] [stdout]  --> src/transpiler/implementations/fscript_switch.rs:1:11
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::{borrow::Borrow, collections::VecDeque};
[INFO] [stdout]   |           ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `CompilationInstructions`
[INFO] [stdout]   --> src/main.rs:27:5
[INFO] [stdout]    |
[INFO] [stdout] 27 |     CompilationInstructions,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::tokenizer::types::TokenStream`
[INFO] [stdout]  --> src/tokenizer/traverse_token_stream.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use crate::tokenizer::types::TokenStream;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `super::types::TokenOrStream`
[INFO] [stdout]  --> src/tokenizer/traverse_token_stream.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use super::types::TokenOrStream;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `tokenizer::types::TokenStream`
[INFO] [stdout]   --> src/main.rs:33:5
[INFO] [stdout]    |
[INFO] [stdout] 33 | use tokenizer::types::TokenStream;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `token_stream`
[INFO] [stdout]   --> src/transpiler/implementations/fscript_if.rs:37:19
[INFO] [stdout]    |
[INFO] [stdout] 37 | fn parse_if <'a> (token_stream: &'a mut TokenStream<'a>) -> Option<CompilationInfo> {
[INFO] [stdout]    |                   ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_token_stream`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `data`
[INFO] [stdout]   --> src/transpiler/implementations/fscript_if.rs:42:23
[INFO] [stdout]    |
[INFO] [stdout] 42 | fn transpile_if <'a> (data: CompilableSection<'a>) -> String{
[INFO] [stdout]    |                       ^^^^ help: if this is intentional, prefix it with an underscore: `_data`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/transpiler/implementations/fscript_switch.rs:111:21
[INFO] [stdout]     |
[INFO] [stdout] 111 |                 let mut insert_return: VecDeque<usize> = VecDeque::new();
[INFO] [stdout]     |                     ----^^^^^^^^^^^^^
[INFO] [stdout]     |                     |
[INFO] [stdout]     |                     help: remove this `mut`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `paren_data`
[INFO] [stdout]    --> src/transpiler/implementations/fscript_switch.rs:108:21
[INFO] [stdout]     |
[INFO] [stdout] 108 |                 let paren_data = &data[parens.0+1..parens.1-1];
[INFO] [stdout]     |                     ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_paren_data`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `curly_data`
[INFO] [stdout]    --> src/transpiler/implementations/fscript_switch.rs:109:21
[INFO] [stdout]     |
[INFO] [stdout] 109 |                 let curly_data = &data[curlies.0+1..curlies.1-1];
[INFO] [stdout]     |                     ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_curly_data`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `tok`
[INFO] [stdout]    --> src/transpiler/implementations/fscript_switch.rs:115:25
[INFO] [stdout]     |
[INFO] [stdout] 115 |                     let tok = stream.current().unwrap();
[INFO] [stdout]     |                         ^^^ help: if this is intentional, prefix it with an underscore: `_tok`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `err`
[INFO] [stdout]    --> src/transpiler/implementations/fscript_switch.rs:139:26
[INFO] [stdout]     |
[INFO] [stdout] 139 |                     Err( err ) => {
[INFO] [stdout]     |                          ^^^ help: if this is intentional, prefix it with an underscore: `_err`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `token_len`
[INFO] [stdout]    --> src/tokenizer/tokenizer.rs:329:9
[INFO] [stdout]     |
[INFO] [stdout] 329 |     let token_len = get_token_len(&start_token.token);
[INFO] [stdout]     |         ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_token_len`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `transpiled_targets`
[INFO] [stdout]   --> src/main.rs:95:9
[INFO] [stdout]    |
[INFO] [stdout] 95 |     let transpiled_targets = transpile_all_targets(parsed_target, &compilation_instructions);
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_transpiled_targets`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `write_all` is never used
[INFO] [stdout]  --> src/io/write_files.rs:7:8
[INFO] [stdout]   |
[INFO] [stdout] 7 | pub fn write_all (compiled: Vec<CompilationTarget>) {
[INFO] [stdout]   |        ^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `write_single` is never used
[INFO] [stdout]   --> src/io/write_files.rs:14:4
[INFO] [stdout]    |
[INFO] [stdout] 14 | fn write_single (compiled_file: CompilationTarget) {
[INFO] [stdout]    |    ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `make_file` is never used
[INFO] [stdout]   --> src/io/write_files.rs:61:4
[INFO] [stdout]    |
[INFO] [stdout] 61 | fn make_file (path: &str) -> Option<fs::File> {
[INFO] [stdout]    |    ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `write_to_file` is never used
[INFO] [stdout]   --> src/io/write_files.rs:75:4
[INFO] [stdout]    |
[INFO] [stdout] 75 | fn write_to_file (mut file: fs::File, write: String, out_path: &String) {
[INFO] [stdout]    |    ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `vanilla_sections` and `compiled_sections` are never read
[INFO] [stdout]   --> src/types.rs:91:13
[INFO] [stdout]    |
[INFO] [stdout] 89 |     pub struct TranspiledFile <'a> {
[INFO] [stdout]    |                -------------- fields in this struct
[INFO] [stdout] 90 |         pub size:                usize,                    // size of the raw file 
[INFO] [stdout] 91 |         pub vanilla_sections:    Vec<&'a [u8]>,              // vector of the sections of vanilla code that will be pasted directly ...
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^^
[INFO] [stdout] 92 |         pub compiled_sections:   Vec<String>               // vector of the .fjs expressions that will be compiled before being past...
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `construct_file` is never used
[INFO] [stdout]   --> src/transpiler/transpiler.rs:63:8
[INFO] [stdout]    |
[INFO] [stdout] 63 | pub fn construct_file (transpiled: TranspiledFile) -> String {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `end` is never read
[INFO] [stdout]   --> src/transpiler/types.rs:16:9
[INFO] [stdout]    |
[INFO] [stdout] 12 | pub struct CompilationInfo {
[INFO] [stdout]    |            --------------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 16 |     pub end: usize,
[INFO] [stdout]    |         ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variants `IfInfo` and `None` are never constructed
[INFO] [stdout]   --> src/transpiler/types.rs:22:5
[INFO] [stdout]    |
[INFO] [stdout] 21 | pub enum Info {
[INFO] [stdout]    |          ---- variants in this enum
[INFO] [stdout] 22 |     IfInfo     (     fscript_if::IfInfo     ),
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout] 23 |     SwitchInfo ( fscript_switch::SwitchInfo ),
[INFO] [stdout] 24 |     None
[INFO] [stdout]    |     ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `comp_type` is never read
[INFO] [stdout]   --> src/transpiler/types.rs:47:9
[INFO] [stdout]    |
[INFO] [stdout] 46 | pub struct CompilationInstructions {
[INFO] [stdout]    |            ----------------------- field in this struct
[INFO] [stdout] 47 |     pub comp_type:      CompileType,
[INFO] [stdout]    |         ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `Lookup` is never used
[INFO] [stdout]   --> src/tokenizer/token_types.rs:13:10
[INFO] [stdout]    |
[INFO] [stdout] 13 | pub enum Lookup {
[INFO] [stdout]    |          ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `end` and `prev` are never used
[INFO] [stdout]    --> src/tokenizer/types.rs:297:12
[INFO] [stdout]     |
[INFO] [stdout] 186 | impl <'a> TokenStream <'a> {
[INFO] [stdout]     | -------------------------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 297 |     pub fn end (&'a self) -> Option<&TokenOrStream<'a>> {
[INFO] [stdout]     |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 411 |     pub fn prev (&'a mut self) -> Option<&TokenOrStream<'a>> {
[INFO] [stdout]     |            ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: eliding a lifetime that's named elsewhere is confusing
[INFO] [stdout]    --> src/tokenizer/types.rs:278:39
[INFO] [stdout]     |
[INFO] [stdout] 278 |     pub fn first (&'a self) -> Option<&TokenOrStream<'a>> {
[INFO] [stdout]     |                    --                 ^^^^^^^^^^^^^^^--^
[INFO] [stdout]     |                    |                  |              |
[INFO] [stdout]     |                    |                  |              the same lifetime is named here
[INFO] [stdout]     |                    |                  the same lifetime is elided here
[INFO] [stdout]     |                    the lifetime is named here
[INFO] [stdout]     |
[INFO] [stdout]     = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout]     = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
[INFO] [stdout] help: consistently use `'a`
[INFO] [stdout]     |
[INFO] [stdout] 278 |     pub fn first (&'a self) -> Option<&'a TokenOrStream<'a>> {
[INFO] [stdout]     |                                        ++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: eliding a lifetime that's named elsewhere is confusing
[INFO] [stdout]    --> src/tokenizer/types.rs:297:37
[INFO] [stdout]     |
[INFO] [stdout] 297 |     pub fn end (&'a self) -> Option<&TokenOrStream<'a>> {
[INFO] [stdout]     |                  --                 ^^^^^^^^^^^^^^^--^
[INFO] [stdout]     |                  |                  |              |
[INFO] [stdout]     |                  |                  |              the same lifetime is named here
[INFO] [stdout]     |                  |                  the same lifetime is elided here
[INFO] [stdout]     |                  the lifetime is named here
[INFO] [stdout]     |
[INFO] [stdout]     = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: consistently use `'a`
[INFO] [stdout]     |
[INFO] [stdout] 297 |     pub fn end (&'a self) -> Option<&'a TokenOrStream<'a>> {
[INFO] [stdout]     |                                      ++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: eliding a lifetime that's named elsewhere is confusing
[INFO] [stdout]    --> src/tokenizer/types.rs:320:41
[INFO] [stdout]     |
[INFO] [stdout] 320 |     pub fn current (&'a self) -> Option<&TokenOrStream<'a>> {
[INFO] [stdout]     |                      --                 ^^^^^^^^^^^^^^^--^
[INFO] [stdout]     |                      |                  |              |
[INFO] [stdout]     |                      |                  |              the same lifetime is named here
[INFO] [stdout]     |                      |                  the same lifetime is elided here
[INFO] [stdout]     |                      the lifetime is named here
[INFO] [stdout]     |
[INFO] [stdout]     = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: consistently use `'a`
[INFO] [stdout]     |
[INFO] [stdout] 320 |     pub fn current (&'a self) -> Option<&'a TokenOrStream<'a>> {
[INFO] [stdout]     |                                          ++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: eliding a lifetime that's named elsewhere is confusing
[INFO] [stdout]    --> src/tokenizer/types.rs:411:42
[INFO] [stdout]     |
[INFO] [stdout] 411 |     pub fn prev (&'a mut self) -> Option<&TokenOrStream<'a>> {
[INFO] [stdout]     |                   --                     ^^^^^^^^^^^^^^^--^
[INFO] [stdout]     |                   |                      |              |
[INFO] [stdout]     |                   |                      |              the same lifetime is named here
[INFO] [stdout]     |                   |                      the same lifetime is elided here
[INFO] [stdout]     |                   the lifetime is named here
[INFO] [stdout]     |
[INFO] [stdout]     = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: consistently use `'a`
[INFO] [stdout]     |
[INFO] [stdout] 411 |     pub fn prev (&'a mut self) -> Option<&'a TokenOrStream<'a>> {
[INFO] [stdout]     |                                           ++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `CompilationInstructions` and `Info`
[INFO] [stdout]   --> src/parser/parser.rs:25:9
[INFO] [stdout]    |
[INFO] [stdout] 25 |         CompilationInstructions,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 28 |         Info
[INFO] [stdout]    |         ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `io::write_files::write_all`
[INFO] [stdout]   --> src/main.rs:11:5
[INFO] [stdout]    |
[INFO] [stdout] 11 | use io::write_files::write_all;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `CompilationInstructions`
[INFO] [stdout]  --> src/types.rs:5:9
[INFO] [stdout]   |
[INFO] [stdout] 5 |         CompilationInstructions, 
[INFO] [stdout]   |         ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `type_implementations::type_implementations::*`
[INFO] [stdout]   --> src/main.rs:17:5
[INFO] [stdout]    |
[INFO] [stdout] 17 | use type_implementations::type_implementations::*;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Info`
[INFO] [stdout]   --> src/transpiler/implementations/fscript_if.rs:10:5
[INFO] [stdout]    |
[INFO] [stdout] 10 |     Info
[INFO] [stdout]    |     ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `borrow::Borrow`
[INFO] [stdout]  --> src/transpiler/implementations/fscript_switch.rs:1:11
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::{borrow::Borrow, collections::VecDeque};
[INFO] [stdout]   |           ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `CompilationInstructions`
[INFO] [stdout]   --> src/main.rs:27:5
[INFO] [stdout]    |
[INFO] [stdout] 27 |     CompilationInstructions,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::tokenizer::types::TokenStream`
[INFO] [stdout]  --> src/tokenizer/traverse_token_stream.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use crate::tokenizer::types::TokenStream;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `super::types::TokenOrStream`
[INFO] [stdout]  --> src/tokenizer/traverse_token_stream.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use super::types::TokenOrStream;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `tokenizer::types::TokenStream`
[INFO] [stdout]   --> src/main.rs:33:5
[INFO] [stdout]    |
[INFO] [stdout] 33 | use tokenizer::types::TokenStream;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `token_stream`
[INFO] [stdout]   --> src/transpiler/implementations/fscript_if.rs:37:19
[INFO] [stdout]    |
[INFO] [stdout] 37 | fn parse_if <'a> (token_stream: &'a mut TokenStream<'a>) -> Option<CompilationInfo> {
[INFO] [stdout]    |                   ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_token_stream`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `data`
[INFO] [stdout]   --> src/transpiler/implementations/fscript_if.rs:42:23
[INFO] [stdout]    |
[INFO] [stdout] 42 | fn transpile_if <'a> (data: CompilableSection<'a>) -> String{
[INFO] [stdout]    |                       ^^^^ help: if this is intentional, prefix it with an underscore: `_data`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/transpiler/implementations/fscript_switch.rs:111:21
[INFO] [stdout]     |
[INFO] [stdout] 111 |                 let mut insert_return: VecDeque<usize> = VecDeque::new();
[INFO] [stdout]     |                     ----^^^^^^^^^^^^^
[INFO] [stdout]     |                     |
[INFO] [stdout]     |                     help: remove this `mut`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `paren_data`
[INFO] [stdout]    --> src/transpiler/implementations/fscript_switch.rs:108:21
[INFO] [stdout]     |
[INFO] [stdout] 108 |                 let paren_data = &data[parens.0+1..parens.1-1];
[INFO] [stdout]     |                     ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_paren_data`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `curly_data`
[INFO] [stdout]    --> src/transpiler/implementations/fscript_switch.rs:109:21
[INFO] [stdout]     |
[INFO] [stdout] 109 |                 let curly_data = &data[curlies.0+1..curlies.1-1];
[INFO] [stdout]     |                     ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_curly_data`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `tok`
[INFO] [stdout]    --> src/transpiler/implementations/fscript_switch.rs:115:25
[INFO] [stdout]     |
[INFO] [stdout] 115 |                     let tok = stream.current().unwrap();
[INFO] [stdout]     |                         ^^^ help: if this is intentional, prefix it with an underscore: `_tok`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `err`
[INFO] [stdout]    --> src/transpiler/implementations/fscript_switch.rs:139:26
[INFO] [stdout]     |
[INFO] [stdout] 139 |                     Err( err ) => {
[INFO] [stdout]     |                          ^^^ help: if this is intentional, prefix it with an underscore: `_err`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `token_len`
[INFO] [stdout]    --> src/tokenizer/tokenizer.rs:329:9
[INFO] [stdout]     |
[INFO] [stdout] 329 |     let token_len = get_token_len(&start_token.token);
[INFO] [stdout]     |         ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_token_len`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `transpiled_targets`
[INFO] [stdout]   --> src/main.rs:95:9
[INFO] [stdout]    |
[INFO] [stdout] 95 |     let transpiled_targets = transpile_all_targets(parsed_target, &compilation_instructions);
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_transpiled_targets`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `write_all` is never used
[INFO] [stdout]  --> src/io/write_files.rs:7:8
[INFO] [stdout]   |
[INFO] [stdout] 7 | pub fn write_all (compiled: Vec<CompilationTarget>) {
[INFO] [stdout]   |        ^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `write_single` is never used
[INFO] [stdout]   --> src/io/write_files.rs:14:4
[INFO] [stdout]    |
[INFO] [stdout] 14 | fn write_single (compiled_file: CompilationTarget) {
[INFO] [stdout]    |    ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `make_file` is never used
[INFO] [stdout]   --> src/io/write_files.rs:61:4
[INFO] [stdout]    |
[INFO] [stdout] 61 | fn make_file (path: &str) -> Option<fs::File> {
[INFO] [stdout]    |    ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `write_to_file` is never used
[INFO] [stdout]   --> src/io/write_files.rs:75:4
[INFO] [stdout]    |
[INFO] [stdout] 75 | fn write_to_file (mut file: fs::File, write: String, out_path: &String) {
[INFO] [stdout]    |    ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `vanilla_sections` and `compiled_sections` are never read
[INFO] [stdout]   --> src/types.rs:91:13
[INFO] [stdout]    |
[INFO] [stdout] 89 |     pub struct TranspiledFile <'a> {
[INFO] [stdout]    |                -------------- fields in this struct
[INFO] [stdout] 90 |         pub size:                usize,                    // size of the raw file 
[INFO] [stdout] 91 |         pub vanilla_sections:    Vec<&'a [u8]>,              // vector of the sections of vanilla code that will be pasted directly ...
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^^
[INFO] [stdout] 92 |         pub compiled_sections:   Vec<String>               // vector of the .fjs expressions that will be compiled before being past...
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `construct_file` is never used
[INFO] [stdout]   --> src/transpiler/transpiler.rs:63:8
[INFO] [stdout]    |
[INFO] [stdout] 63 | pub fn construct_file (transpiled: TranspiledFile) -> String {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `end` is never read
[INFO] [stdout]   --> src/transpiler/types.rs:16:9
[INFO] [stdout]    |
[INFO] [stdout] 12 | pub struct CompilationInfo {
[INFO] [stdout]    |            --------------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 16 |     pub end: usize,
[INFO] [stdout]    |         ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variants `IfInfo` and `None` are never constructed
[INFO] [stdout]   --> src/transpiler/types.rs:22:5
[INFO] [stdout]    |
[INFO] [stdout] 21 | pub enum Info {
[INFO] [stdout]    |          ---- variants in this enum
[INFO] [stdout] 22 |     IfInfo     (     fscript_if::IfInfo     ),
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout] 23 |     SwitchInfo ( fscript_switch::SwitchInfo ),
[INFO] [stdout] 24 |     None
[INFO] [stdout]    |     ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `comp_type` is never read
[INFO] [stdout]   --> src/transpiler/types.rs:47:9
[INFO] [stdout]    |
[INFO] [stdout] 46 | pub struct CompilationInstructions {
[INFO] [stdout]    |            ----------------------- field in this struct
[INFO] [stdout] 47 |     pub comp_type:      CompileType,
[INFO] [stdout]    |         ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `Lookup` is never used
[INFO] [stdout]   --> src/tokenizer/token_types.rs:13:10
[INFO] [stdout]    |
[INFO] [stdout] 13 | pub enum Lookup {
[INFO] [stdout]    |          ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `end` and `prev` are never used
[INFO] [stdout]    --> src/tokenizer/types.rs:297:12
[INFO] [stdout]     |
[INFO] [stdout] 186 | impl <'a> TokenStream <'a> {
[INFO] [stdout]     | -------------------------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 297 |     pub fn end (&'a self) -> Option<&TokenOrStream<'a>> {
[INFO] [stdout]     |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 411 |     pub fn prev (&'a mut self) -> Option<&TokenOrStream<'a>> {
[INFO] [stdout]     |            ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: eliding a lifetime that's named elsewhere is confusing
[INFO] [stdout]    --> src/tokenizer/types.rs:278:39
[INFO] [stdout]     |
[INFO] [stdout] 278 |     pub fn first (&'a self) -> Option<&TokenOrStream<'a>> {
[INFO] [stdout]     |                    --                 ^^^^^^^^^^^^^^^--^
[INFO] [stdout]     |                    |                  |              |
[INFO] [stdout]     |                    |                  |              the same lifetime is named here
[INFO] [stdout]     |                    |                  the same lifetime is elided here
[INFO] [stdout]     |                    the lifetime is named here
[INFO] [stdout]     |
[INFO] [stdout]     = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout]     = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
[INFO] [stdout] help: consistently use `'a`
[INFO] [stdout]     |
[INFO] [stdout] 278 |     pub fn first (&'a self) -> Option<&'a TokenOrStream<'a>> {
[INFO] [stdout]     |                                        ++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: eliding a lifetime that's named elsewhere is confusing
[INFO] [stdout]    --> src/tokenizer/types.rs:297:37
[INFO] [stdout]     |
[INFO] [stdout] 297 |     pub fn end (&'a self) -> Option<&TokenOrStream<'a>> {
[INFO] [stdout]     |                  --                 ^^^^^^^^^^^^^^^--^
[INFO] [stdout]     |                  |                  |              |
[INFO] [stdout]     |                  |                  |              the same lifetime is named here
[INFO] [stdout]     |                  |                  the same lifetime is elided here
[INFO] [stdout]     |                  the lifetime is named here
[INFO] [stdout]     |
[INFO] [stdout]     = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: consistently use `'a`
[INFO] [stdout]     |
[INFO] [stdout] 297 |     pub fn end (&'a self) -> Option<&'a TokenOrStream<'a>> {
[INFO] [stdout]     |                                      ++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: eliding a lifetime that's named elsewhere is confusing
[INFO] [stdout]    --> src/tokenizer/types.rs:320:41
[INFO] [stdout]     |
[INFO] [stdout] 320 |     pub fn current (&'a self) -> Option<&TokenOrStream<'a>> {
[INFO] [stdout]     |                      --                 ^^^^^^^^^^^^^^^--^
[INFO] [stdout]     |                      |                  |              |
[INFO] [stdout]     |                      |                  |              the same lifetime is named here
[INFO] [stdout]     |                      |                  the same lifetime is elided here
[INFO] [stdout]     |                      the lifetime is named here
[INFO] [stdout]     |
[INFO] [stdout]     = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: consistently use `'a`
[INFO] [stdout]     |
[INFO] [stdout] 320 |     pub fn current (&'a self) -> Option<&'a TokenOrStream<'a>> {
[INFO] [stdout]     |                                          ++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: eliding a lifetime that's named elsewhere is confusing
[INFO] [stdout]    --> src/tokenizer/types.rs:411:42
[INFO] [stdout]     |
[INFO] [stdout] 411 |     pub fn prev (&'a mut self) -> Option<&TokenOrStream<'a>> {
[INFO] [stdout]     |                   --                     ^^^^^^^^^^^^^^^--^
[INFO] [stdout]     |                   |                      |              |
[INFO] [stdout]     |                   |                      |              the same lifetime is named here
[INFO] [stdout]     |                   |                      the same lifetime is elided here
[INFO] [stdout]     |                   the lifetime is named here
[INFO] [stdout]     |
[INFO] [stdout]     = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: consistently use `'a`
[INFO] [stdout]     |
[INFO] [stdout] 411 |     pub fn prev (&'a mut self) -> Option<&'a TokenOrStream<'a>> {
[INFO] [stdout]     |                                           ++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 3.58s
[INFO] running `Command { std: "docker" "inspect" "c968f64235865c6805bc928fab19c0f7726a51a8ef532771c7a7f52711642ee1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "c968f64235865c6805bc928fab19c0f7726a51a8ef532771c7a7f52711642ee1", kill_on_drop: false }`
[INFO] [stdout] c968f64235865c6805bc928fab19c0f7726a51a8ef532771c7a7f52711642ee1
